package com.example.transactionhintassistant.pojo.dto.memo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Schema(description = "备忘录增加表")
@Data
public class AddMemoDto {

    @Schema(description = "备忘录标题")
    @Length(max = 50,message = "备忘录标题⻓度不超过30位!")
    private String title;

    @Schema(description = "备忘录内容")
    private String content;
}
